\hypertarget{disjointset__test_8h}{}\section{src/set\+\_\+algorithms/disjoint\+\_\+set/disjointset\+\_\+test.h File Reference}
\label{disjointset__test_8h}\index{src/set\+\_\+algorithms/disjoint\+\_\+set/disjointset\+\_\+test.\+h@{src/set\+\_\+algorithms/disjoint\+\_\+set/disjointset\+\_\+test.\+h}}
{\ttfamily \#include \char`\"{}src/google\+\_\+test/gtest.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}disjointset.\+h\char`\"{}}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}
\begin{DoxyCompactList}\small\item\em \hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}\+:测试类，用于为测试提供基础数据 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \hyperlink{namespaceanonymous__namespace_02disjointset__test_8h_03}{anonymous\+\_\+namespace\{disjointset\+\_\+test.\+h\}}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{disjointset__test_8h_a05878d55a75a4d42bfb30e0e7102750c}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}, test\+\_\+make\+\_\+set)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}\+:测试\+Disjoint\+Set\+Node\+Test. \end{DoxyCompactList}\item 
\hyperlink{disjointset__test_8h_a84ca41c74c28df7548d2cce2c1e40ddb}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}, test\+\_\+find\+\_\+set)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}\+:测试\+Disjoint\+Set\+Node\+Test. \end{DoxyCompactList}\item 
\hyperlink{disjointset__test_8h_a58e773a7982757e03bde335d94a053d2}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}, test\+\_\+link)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}\+:测试\+Disjoint\+Set\+Node\+Test. \end{DoxyCompactList}\item 
\hyperlink{disjointset__test_8h_ae8efc2347c50e7173d77d7132bb6d0f3}{T\+E\+S\+T\+\_\+\+F} (\hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}, test\+\_\+union)
\begin{DoxyCompactList}\small\item\em \hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}\+:测试\+Disjoint\+Set\+Node\+Test. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const int \hyperlink{namespaceanonymous__namespace_02disjointset__test_8h_03_a9fd4f77b008da8d9816385f53c064001}{anonymous\+\_\+namespace\{disjointset\+\_\+test.\+h\}\+::\+S\+\_\+\+N\+U\+M} =20
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{disjointset__test_8h_a05878d55a75a4d42bfb30e0e7102750c}{}\index{disjointset\+\_\+test.\+h@{disjointset\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!disjointset\+\_\+test.\+h@{disjointset\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Disjoint\+Set\+Node\+Test, test\+\_\+make\+\_\+set)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Disjoint\+Set\+Node\+Test}}]{, }
\item[{test\+\_\+make\+\_\+set}]{}
\end{DoxyParamCaption}
)}\label{disjointset__test_8h_a05878d55a75a4d42bfb30e0e7102750c}


\hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}\+:测试\+Disjoint\+Set\+Node\+Test. 

{\ttfamily test\+\_\+make\+\_\+set}\+:测试 make\+\_\+set方法 

Definition at line 53 of file disjointset\+\_\+test.\+h.

\hypertarget{disjointset__test_8h_a84ca41c74c28df7548d2cce2c1e40ddb}{}\index{disjointset\+\_\+test.\+h@{disjointset\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!disjointset\+\_\+test.\+h@{disjointset\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Disjoint\+Set\+Node\+Test, test\+\_\+find\+\_\+set)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Disjoint\+Set\+Node\+Test}}]{, }
\item[{test\+\_\+find\+\_\+set}]{}
\end{DoxyParamCaption}
)}\label{disjointset__test_8h_a84ca41c74c28df7548d2cce2c1e40ddb}


\hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}\+:测试\+Disjoint\+Set\+Node\+Test. 

{\ttfamily test\+\_\+find\+\_\+set}\+:测试 find\+\_\+set 方法 

Definition at line 68 of file disjointset\+\_\+test.\+h.

\hypertarget{disjointset__test_8h_a58e773a7982757e03bde335d94a053d2}{}\index{disjointset\+\_\+test.\+h@{disjointset\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!disjointset\+\_\+test.\+h@{disjointset\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Disjoint\+Set\+Node\+Test, test\+\_\+link)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Disjoint\+Set\+Node\+Test}}]{, }
\item[{test\+\_\+link}]{}
\end{DoxyParamCaption}
)}\label{disjointset__test_8h_a58e773a7982757e03bde335d94a053d2}


\hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}\+:测试\+Disjoint\+Set\+Node\+Test. 

{\ttfamily test\+\_\+link}\+:测试 link 方法 

Definition at line 82 of file disjointset\+\_\+test.\+h.

\hypertarget{disjointset__test_8h_ae8efc2347c50e7173d77d7132bb6d0f3}{}\index{disjointset\+\_\+test.\+h@{disjointset\+\_\+test.\+h}!T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}}
\index{T\+E\+S\+T\+\_\+\+F@{T\+E\+S\+T\+\_\+\+F}!disjointset\+\_\+test.\+h@{disjointset\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T\+\_\+\+F(\+Disjoint\+Set\+Node\+Test, test\+\_\+union)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T\+\_\+\+F (
\begin{DoxyParamCaption}
\item[{{\bf Disjoint\+Set\+Node\+Test}}]{, }
\item[{test\+\_\+union}]{}
\end{DoxyParamCaption}
)}\label{disjointset__test_8h_ae8efc2347c50e7173d77d7132bb6d0f3}


\hyperlink{class_disjoint_set_node_test}{Disjoint\+Set\+Node\+Test}\+:测试\+Disjoint\+Set\+Node\+Test. 

{\ttfamily test\+\_\+union}\+:测试 union 方法 

Definition at line 112 of file disjointset\+\_\+test.\+h.

